/**
 * 
 */
package oldtrigger;


/**
 * @author Philip
 *
 */
public abstract class AbstractTrigger implements Comparable<AbstractTrigger>, Trigger {
	protected String trigger;
	protected String receiver;
	protected boolean hasMoreResponseLines;
	
	public AbstractTrigger(String trigger) {
		this.trigger = trigger;
		receiver = "";
	}
	
	public String getTrigger() {
		return trigger;
	}
	
	public void setReceiver(String receiever) {
		this.receiver = receiever;
	}
	
	public String getReceiver() {
		return receiver;
	}
	
	public boolean triggers(String text) {	
		return true;
	}
}
